package edu.spec.wfl.week08.class1.book.unit4.there;

public class Person{
    private String name;
    private char sex;
    private int age;

    public Person(){}
    public Person(String s){
        this.name=s;
    }
    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return name;
    }

    public void setSex(char sex){
        this.sex=sex;
    }
    public char getSex(){
        return sex;
    }
    public void setAge(int age){
        this.age=age;
    }
    public int getAge(){
        return age;
    }

    public String toString(){
        return (this.getName()+this.getSex()+this.getAge());
    }
}
